home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-02-05 | 1.2 KB | 43 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="5"
- "UIPATH"="Internet\Internet Explorer\Zones"
- "NAME"="Zone Descriptions"
- "LANGUAGE"="VBScript"
- "VERSION"="1.37"
- "TEXT 1"="Zone #1 Desc"
- "TEXT 2"="Zone #2 Desc"
- "TEXT 3"="Zone #3 Desc"
- "TEXT 4"="Zone #4 Desc"
- "TEXT 5"="Zone #5 Desc"
- "DESCRIPTION 1"="IE 4.0 and above divide the Internet into different Zones. You can change the descriptions for these zones here."
- "DESCRIPTION 2"="To view these items, start Internet Explorer, select "Options" from the "View" menu and click on the "Security" tab."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
- sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\"
- sValue="\Description"
-
- Sub Plugin_Initialize
- if RegPathExists(sPath) then
- for l=1 to 5
- s=RegReadValue(sPath & l & sValue)
- Call SetUIElement(l,s)
- next
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- for l=1 to 5
- s=GetUIElement(l)
- Call RegWriteValue(sPath & l & sValue,s,1)
- next
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-